body {
    margin: 0;
    padding: 0;
}

/* Popup container */
.popup-container {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: hidden;
    font-size: 0.9rem;
}

/* Popup content */
.changelog-content {
    background-color: #2e2e2e;
    padding: 30px;
    max-width: 550px;
    max-height: 80vh;
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.7);
    text-align: left;
    animation: fadeIn 0.3s ease-in-out;
    overflow-y: auto;
    padding-right: 15px;
    box-sizing: border-box;
}

/* Center the content more precisely on larger screens */
@media (min-width: 768px) {
    .changelog-content {
        max-width: 500px;
        margin: auto;
    }
}

/* Scrollbar customization */
.changelog-content::-webkit-scrollbar {
    width: 8px;
}

.changelog-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

/* Heading styles */
.changelog-content h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    margin-top: 0;
    color: #f5f5f5;
}

/* Subheading */
.subheading {
    text-align: center;
    color: #b0b0b0;
    margin-top: 5px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Date styles */
.date {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #ffffff;
}

/* List styles */
.bullet-list {
    list-style-type: none;
    padding-left: 10px;
}

.bullet-list ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.bullet-list li {
    margin-bottom: 10px;
    color: #d0d0d0;
    font-size: 0.9rem;
}

/* Label styles */
.label {
    display: inline-block;
    font-weight: bold;
    border-radius: 4px;
    padding: 2px 8px;
    color: white;
    margin-bottom: 7px;

}

.new {
    background-color: #3dbd40;
}

.bugfix {
    background-color: #e74c3c;
}

.improvement {
    background-color: #5a67d8;
}

/* Button styles */
.close-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 25px;
    background-color: #4a4a4a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: #65aa6e;
}

/* Keyframe animation for fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Ensure scrollbar respects the rounded corners */
.changelog-content {
    border-radius: 20px;
    padding-right: 10px;
    box-sizing: border-box;
    overflow-y: auto;
}